function handle_popover() {
    $('.popovers').popover();
}



function handle_select_input() {
    if (!jQuery().chosen) {
        return;
    }

    $(".chosen").chosen();
}



$(document).ready(function () {
    handle_select_input();
    handle_popover();
});